package com.wench.design.pattern.builder.demo1;

/**
 * @author wench
 */
public abstract class Builder {

    /**
     * 声明Bike类型的变量，并进行赋值
     */
    protected Bike bike = new Bike();

    /**
     * 构建车架
     */
    public abstract void buildFrame();

    /**
     * 构建车座
     */
    public abstract void buildSeat();

    /**
     * 构建自行车的方法
     *
     * @return Bike 对象
     */
    public abstract Bike createBike();


}
